package com.zhuangjie.shop.enums;

/**
 * 交货方法(平台配送，商家自配)
 *
 * @author zhuangjie
 * @date 2023/10/23
 */
public enum DeliveryMethodEnum {
    PLATFORM("平台配送",(short)1),
    MERCHANT_SELF_DELIVERY("商家自配",(short)2);

    private String name;
    private short value;
    public short getValue() {
        return this.value;
    }
    public String getName() {
        return this.name;
    }
    DeliveryMethodEnum(String name, short value) {
        this.name = name;
        this.value = value;
    }
}
